package me.mononin.factory.model.api.account;

import me.mononin.factory.model.db.User;

/**
 * @author Yaning
 * @description
 * @date 18-4-19 下午5:12
 */
public class AccountRspModel {

    private User card;
    //用户Token信息
    private String token;
    //用户当前登录账号
    private String account;
    //当前用户是否绑定设备pushId
    private boolean isBind;


    public User getCard() {
        return card;
    }

    public void setCard(User card) {
        this.card = card;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public boolean isBind() {
        return isBind;
    }

    public void setBind(boolean bind) {
        isBind = bind;
    }

    @Override
    public String toString() {
        return "AccountRspModel{" +
                "card=" + card +
                ", token='" + token + '\'' +
                ", account='" + account + '\'' +
                ", isBind=" + isBind +
                '}';
    }
}
